home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / terms / kermit / b / ckoker.bwr < prev    next >
Encoding:
Text File  |  1993-07-17  |  13.6 KB  |  305 lines

  1. CKOKER.BWR          "Beware File" for C-Kermit Version 5A        -*- text -*-
  2.  
  3.                  OS/2 VERSION
  4.  
  5. Applies to version 5A(189)
  6.  
  7. Last update: Fri Jul 16 16:16:28 1993
  8.  
  9. Authors: Frank da Cruz, Christine M. Gianone, Columbia University.
  10.          Kai Uwe Rommel, Technische Universitaet Muenchen, Germany.
  11.  
  12.   Copyright (C) 1985, 1993, Trustees of Columbia University in the City of New
  13.   York.  The C-Kermit software may not be, in whole or in part, licensed or
  14.   sold for profit as a software product itself, nor may it be included in or
  15.   distributed with commercial products or otherwise distributed by commercial
  16.   concerns to their clients or customers without written permission of the
  17.   Office of Kermit Development and Distribution, Columbia University.  This
  18.   copyright notice must not be removed, altered, or obscured.
  19.  
  20. Report problems, suggestions, fixes, etc, to Frank da Cruz:
  21.  
  22.   Internet: fdc@columbia.edu
  23.   BITNET/EARN: FDCCU@CUVMA
  24.  
  25. Columbia University Academic Information Systems
  26. 612 West 115th Street, New York, NY  10025  USA
  27.  
  28.  
  29. DOCUMENTATION
  30.  
  31. C-Kermit 5A is documented in the book "Using C-Kermit" by Frank da Cruz and
  32. Christine M. Gianone, 1993, Digital Press, Burlington, MA, USA.  Digital Press
  33. ISBN: 1-55558-108-0; Prentice-Hall ISBN: 0-13-037490-3.  Price: US $34.95.  In
  34. USA, call DECdirect at 1-800-344-4825, refer to order number EY-J896E-DP.  A
  35. German edition will be available in October 1993 from Verlag Heinz Heise in
  36. Hannover, Germany.
  37.  
  38. UPDATE: EDIT 189
  39.  
  40. As of version 5A(189), OS/2 C-Kermit supports TCP/IP connections if you have
  41. TCP/IP installed on your OS/2 system.  This requires a change in the
  42. installation instructions.  A new automatic install procedure is now included,
  43. a Rexx program called INSTALL.CMD.  Just put the installation diskette into
  44. drive A:, click on the Drive A: icon, then click on INSTALL.CMD.
  45.  
  46. To bypass the INSTALL procedure and install OS/2 C-Kermit manually, please
  47. read the installation instructions in the READ.ME (CKOAAA.DSK) file.
  48.  
  49. For other new features of edit 189, please read the file CKCKER.UPD.
  50.  
  51.  
  52. THE 16-BIT AND 32-BIT VERSIONS
  53.  
  54. OS/2 C-Kermit can be built in a 16-bit version, which works under both OS/2
  55. 1.x and 2.0 (and later), and in a 32-bit version, which works only under OS/2
  56. 2.0 and later.  The program herald and the SHOW FEATURES command tell you
  57. which version you have.
  58.  
  59. The 16-bit version might run out of stack space and crash under certain
  60. conditions (the OS/2 message will be "Stack Overflow").  This is a limitation
  61. of the Microsoft C 6.00 development system it was built with, and of the
  62. underlying 16-bit architecture.
  63.  
  64. The 32-bit version does not (should not) crash, but it can't be used under
  65. OS/2 1.x.  So it is best to use the 32-bit version under OS/2 2.00 and later.
  66.  
  67.  
  68. GENERAL LIMITATIONS AND PROBLEMS
  69.  
  70. C-Kermit does not support multiple sessions.  If you SET PORT 1 and make a
  71. connection, and escape back and SET PORT 2, the connection on port 1 is
  72. closed, dropped, and hung up.  To achieve multiple C-Kermit sessions, run
  73. separate copies in different OS/2 windows.
  74.  
  75. C-Kermit's performance on serial connections -- and the performance of any
  76. other OS/2 communication software program -- can be improved significantly by
  77. using a 16550A(FN) communications port controller (UART) rather than a 8250,
  78. 16450, or other unbuffered UART.  Unbuffered UARTs interrupt the CPU once per
  79. character, whereas a buffered UART interrupts every 8-14 characters.
  80. Measurements during C-Kermit file transfer on an otherwise unloaded i486/33
  81. under OS/2 2.0 show approximately 60% CPU usage with a buffered UART and
  82. 75%-100% using an unbuffered one.  And of course, as with all other OS/2
  83. applications (and OS/2 itself), a faster CPU and more memory also help.
  84.  
  85. In any case, native OS/2 serial communications software is NOT as fast as DOS
  86. communications software (such as MS-DOS Kermit) under DOS on the same machine
  87. because OS/2 communications must be done through the serial device driver,
  88. which adds considerable overhead (context switching; registers, stack, call
  89. gate, etc), whereas DOS applications access the bare hardware directly.
  90.  
  91. If you refer to a disk drive that is not ready, or to a file on such a disk
  92. drive, the OS/2 critical error handler might pop up and require action from
  93. the keyboard.  This occurs during execution of commands by inferior processes,
  94. such as DIRECTORY, REMOTE DIRECTORY, DELETE, REMOTE DELETE, etc.  It should
  95. not occur in file transfer operations.  The "hard error box" will put a halt
  96. to unattended, scripted operations, and it stops the operation of the OS/2
  97. C-Kermit server if there is no human in attendance.  To work around: add the
  98. line "AUTOFAIL=YES" to CONFIG.SYS.  This eliminates the hard error box, but it
  99. applies system-wide, not just to C-Kermit.
  100.  
  101. You can't give a command like "RECEIVE A:".  C-Kermit will fail to open
  102. the output file.  You must also include a filename, e.g. "RECEIVE A:X.X".
  103.  
  104. Certain commands that rely on underlying CMD.EXE services, including DELETE
  105. and TYPE, do not accept full pathnames (or, at least they do not pass them
  106. correctly to CMD.EXE).
  107.  
  108. If the PUSH command, and related commands, do not work for you, check the
  109. definition of your OS/2 COMSPEC environment variable.
  110.  
  111. There is no way to change the OS/2 code page after you have started Kermit.
  112. RUN CHCP doesn't do it because it only affects the CMD.EXE process below,
  113. which, of course, exits immediately after running CHCP.
  114.  
  115. Printer support.  The good news:
  116.  
  117.  . The PRINT command works.
  118.  . Files can be transferred to PRN in the 32-bit version only.
  119.  . LOG SESSION PRN works in the 32-bit version.
  120.  . The Print-Screen key prints the current terminal emulation screen in the
  121.    32-bit version (not tested in the 16-bit version).
  122.  . Host-initiated transparent print operations work correctly in the 32-bit
  123.    version. 
  124.  
  125. The bad news:
  126.  
  127.  . There is no Print item in the C-Kermit window menu because C-Kermit
  128.    is a character-mode (VIO), rather than Presentation Manager (PM),
  129.    application. 
  130.  . Ctrl-Print-Screen has no effect.
  131.  . Host-initiated print operations are presently ignored by the 16-bit
  132.    version (because if they are not ignored, they cause a stack overflow).
  133.  . The following host-initiated print operations are not supported:
  134.    - ESC [ 0 i    (print current screen)   
  135.    - ESC [ 1 i    (print current line)
  136.    - ESC [ ? 5 i  (autoprint is treated like transparent print)
  137.  . Print operations, when attempted on an OS/2 system that has no printer
  138.    installed, can hang the Kermit program.
  139.  
  140. Wish list:
  141.  
  142.  . Add LAN Manager and other network support.
  143.  . 132-column mode for VT102 emulator, using horizontal scrolling if
  144.    the graphics adapter (EGA, VGA) does not support 132 columns.
  145.  . VT-220/320/420 emulation
  146.  . Tektronix emulation
  147.  . Hebrew VT420 features (cursor direction, etc)
  148.  
  149. COMMUNICATIONS AND DIALING
  150.  
  151. Unless you have a very fast machine (say, 25 MHz or higher), OS/2 and its
  152. serial port drivers are not fast enough to keep up with serial input at 19200
  153. bps or higher unless you have configured your connection for the optimum type
  154. of flow control, preferably RTS/CTS.  Symptoms of lost data include fractured
  155. terminal screens during CONNECT and packet retransmissions during file
  156. transfer.  High-speed communication works well if RTS/CTS is effective, but
  157. the overall throughput is limited by your PC's CPU speed (and how busy OS/2 is
  158. with other concurrent processes).
  159.  
  160. SET LINE and SET PORT are synonyms, they do exactly the same thing: select the
  161. communication device.  The syntax is the same for both:
  162.  
  163.   SET LINE [ <device-name> ]
  164.   SET PORT [ <device-name> ]
  165.  
  166. If you omit the device name, C-Kermit reverts to its default communications
  167. device, normally COM1.  If you include a device name:
  168.  
  169.  1. If the device name is a single digit, 1 through 8, C-Kermit converts
  170.     this digit to the corresponding COM port name, COM1 through COM8.
  171.     For example, "set port 2" is converted to "set port com2".
  172.  
  173.  2. If the device name begins with an underscore character (_), and all of
  174.     the following characters are numeric (for example, _12), the number is
  175.     assumed to be a file descriptor for an already-open communication device
  176.     (more about this below).  If the device name begins with an underscore,
  177.     but any non-numeric characters follow, a syntax error results.
  178.  
  179.  3. Any other sequence of characters (including "COM1", etc) is accepted
  180.     literally as a device name. 
  181.  
  182. In cases (1) and (3), C-Kermit attempts to open the device, and then, if
  183. successful, checks to see whether it is a real communications device.  If not,
  184. the SET LINE / SET PORT command fails.  In case (3) (see below), no checking
  185. is done.  NOTE: You can also pass an open file descriptor to C-Kermit on
  186. the command line, e.g. "ckermit -l 4".  See the sample program below.
  187.  
  188. Unless you use the MODE command to change it, the OS/2 serial port device
  189. driver requires DSR and CTS.  If your modem or device does not provide these
  190. signals, you can enable communication by telling the driver not to require
  191. them, before starting C-Kermit (or in your CKERMIT.CMD file).  For example:
  192.  
  193.   MODE COM2 IDSR=OFF,ODSR=OFF,OCTS=OFF
  194.  
  195. If you have problems using COM3, COM4, or higher, specify the address and
  196. interrupt number (IRQ) in your OS/2 CONFIG.SYS file, in the line that starts
  197. the serial communication driver, COM.SYS (or SIO.SYS):
  198.  
  199.   DEVICE=C:\OS2\COM.SYS (number,base-address,irq) ...
  200.  
  201. This example gives the addresses and IRQs for COM3 and COM4 but leaves the
  202. values for COM1 and COM2 alone:
  203.  
  204.   DEVICE=C:\OS2\COM.SYS (3,3E8,10) (4,2E8,15)
  205.  
  206. and this example gives the values for COM1 through COM4:
  207.  
  208.   DEVICE=C:\OS2\COM.SYS (1,3F8,4) (2,2F8,3) (3,3E8,10) (4,2E8,15)
  209.  
  210. WARNING: the addresses and IRQs for COM3 and COM4 are not standardized, and
  211. can vary depending on the design and configuration of your communication
  212. board.  Consult the documentation that came with your communication board.
  213.  
  214. KEY ASSIGNMENTS
  215.  
  216. The default key assignments are as listed in "Using C-Kermit", Table V-3,
  217. page 430.  DEC PF1-4 to PC F1-4.  DEC keypad 0-9 to Alt-0 thru Alt-9, top
  218. rank, and so on.  If you want to assign these functions to the PC's numeric
  219. keypad instead, simply TAKE CKOVTK.INI.
  220.  
  221. SHOW KEY does not show what characters are sent by the special keys F1..F10,
  222. Alt-0..Alt-9, or the Arrow keys, nor the actions associated with Page Up,
  223. Alt-=, etc.  See the Tables V-1..V-3 on pages 428-430 of "Using C-Kermit".
  224.  
  225. SET KEY works with the Num Lock key, but several cautions are necessary:
  226.  
  227.  1. Num Lock has two different scan codes: \510 and \766.
  228.  2. Every time you push Num Lock, the scan code toggles.
  229.  3. Every time you push Num Lock, the keypad state toggles.
  230.  
  231. Assigning characters to Num Lock with SET KEY does not change this behavior.
  232. Thus, if you want the keypad keys to always send the same codes, no matter
  233. what the Num Lock state is, you must include two SET KEY commands for each key.
  234. This is done by CKOVTK.INI.
  235.  
  236. If you need to send VT220 key sequences (F6-F20, Help, Do, Find, etc),
  237. use the VT220 section of CKOVTK.INI.  Read the comments in the second half
  238. of the file for directions to find out how to activate the VT220 key settings,
  239. and, if using a VAX/VMS host, give it these commands before starting your
  240. application:
  241.  
  242.   $ set term /device=vt200
  243.   $ set term /noeight
  244.  
  245. Key scan codes are not all the same as in MS-DOS Kermit.  Most ordinary keys
  246. have the same codes, but not as many keys are differentiated.  All
  247. combinations of Ctrl, Shift, and Alt with a particular key do not necessarily
  248. produce unique scan codes.  There are no \Kverbs as in MS-DOS Kermit.
  249.  
  250. TERMINAL EMULATION
  251.  
  252. SET DEBUG SESSION is currently not supported.
  253.  
  254. Various VT102 terminal features are not supported, including:
  255.  
  256.  . Blink
  257.  . Smooth scroll
  258.  . Switching between 80- and 132-column mode
  259.  
  260. and others are simulated:
  261.  
  262.  . Double-width and double-height lines (by doubling characters)
  263.  . Underlining (by a distinct color)
  264.  
  265. Scrolling is slower in an OS/2 Window.  This is because OS/2 is operating in
  266. graphics mode and must draw each dot (pixel) individually.  Fullscreen
  267. scrolling is faster, which uses character mode.  But when running C-Kermit in
  268. fullscreen you lose the ability to cut and paste.
  269.  
  270. The cursor disappears briefly while the screen is being updated and appears
  271. again within a few milliseconds after screen activity stops.  This can be
  272. somewhat disconcerting, but it increases the speed of screen updates.
  273.  
  274. SET FLOW XON/XOFF prevents you from transmitting Ctrl-S and Ctrl-Q characters
  275. to the host.  These characters are commands (Search and Quote) in EMACS.
  276.  
  277. If the host sends the escape sequence to put the terminal into 132-column
  278. mode, and subsequently sends data that would appear in the rightmost 52
  279. columns, this may interfere with existing data on the screen.  If C-Kermit is
  280. started in an OS/2 132-column fullscreen session under OS/2 2.0 (only possible
  281. on certain video adapters), it will display such data correctly but will
  282. always be in 132-column mode, even if only 80-column mode is used.
  283.  
  284. Shift-in/Shift-Out works only if you SET TERMINAL LOCKING-SHIFT ON.
  285.  
  286. FILE TRANSFER
  287.  
  288. There is no way send the complete contents of a file in text mode if the file
  289. contains a Ctrl-Z character that is not the last character in the file.  In
  290. other words, Ctrl-Z is always treated as end-of-file when the FILE TYPE is set
  291. to TEXT.  There should be a SET EOF {CTRLZ, NOCTRLZ} command as in MS-DOS
  292. Kermit to control the treatment of Ctrl-Z characters in text files.
  293.  
  294. Be sure to activate the appropriate type of flow control before transferring
  295. files, especially if you are using long packets:
  296.  
  297.   SET FLOW RTS/CTS
  298.     Preferred, if the device your PC is immediately connected to supports it.
  299.  
  300.   SET FLOW XON/XOFF
  301.     Used end-to-end, but subject to noise corruption, propogation delays, etc.
  302.  
  303. By default OS/2 C-Kermit uses whatever flow control is already configured
  304. for the communications port driver at the time you started C-Kermit.
  305.